package service

import (
	"bluebell-backend/dao/redis"
	"bluebell-backend/model/vo"
)

func VoteForPost(data *vo.VoteData, uuid string) error {

	return redis.VoteForPost(uuid, data.PId, float64(data.Direction))
}
